<template>
  <div class="Home">
    <el-container>
      <el-aside :width="$store.state.userMenuData.w+'px'">
        <asideu></asideu>
      </el-aside>
      <el-container>
        <el-header><Header /></el-header>
        <el-main>
          <router-view class="router"></router-view>
        </el-main>
      </el-container>
    </el-container>


  </div>
</template>

<script>
import asideu from "@/components/aside.vue";
import Header from "@/components/Header.vue";
export default {
  data() {
    return {};
  },
  props: [],

  methods: {},
  computed: {},
  components: {
    asideu,
    Header
  },
};
</script>
<style scoped lang='less'>
.Home {
  position: relative;
    height: 100%;
    width: 100%;

  /deep/.el-header {
    height: 50px;
  }

  /deep/.el-menu {
    border: 0;
  }

  /deep/.el-aside{
    height: 100%;
    &::-webkit-scrollbar {
      width: 0;
    }
  }
  /deep/.el-main {
    height: calc(100vh - 70px);

    &::-webkit-scrollbar {
      width: 0;
    }
  }

  /deep/.el-aside {
    background-color: #304156;
    transition: all .3s ease-in-out;
  }
}
</style>
